projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fbd9a3
)
Fix csd decorations
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 19 Jul 2015 13:59:18 +0000
(09:59 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 19 Jul 2015 13:59:18 +0000
(09:59 -0400)
By accident, commit
b9b17c3c2a434983452561c3
removed one line
that wasn't unused, but important for hiding close buttons on
dialogs. Bring it back.
gtk/gtkheaderbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkheaderbar.c
b/gtk/gtkheaderbar.c
index 21f8fd9372a3ebde1488a3db9fb33fa7c63323d6..dcb8e8a5183b081f3e83c906ec01be12a3d2f657 100644
(file)
--- a/
gtk/gtkheaderbar.c
+++ b/
gtk/gtkheaderbar.c
@@
-296,6
+296,9
@@
_gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
priv->titlebar_end_separator = NULL;
}
+ if (!priv->shows_wm_decorations)
+ return;
+
direction = gtk_widget_get_direction (widget);
g_object_get (gtk_widget_get_settings (widget),